package com.weichuanbo.xwdz.mvp.model.entity;

import java.util.List;

/**
 * Created by ssy on 2018/7/31 14:23
 * E-Mail ：1161209667@qq.com
 */
public class SystemActivityBean {
        /**
         * activity : {"id":"3001","activity_banner":"http://106.75.7.254/Uploads/Picture/2018-06-14/01.png","activity_title":"7日奖励活动","content":"7日奖励活动","activity_url":"https://www.baidu.com/","start_time":"1531732484","end_time":"1535799600","priority":"0","jump_type":"1","activity_type":"1","equipment":"1","has_subtask":"1"}
         * subtask : [{"id":"1","activity_id":"3001","idx":"1","filter_type":"0","filter_value":"","box":"2001,2003","status":2},{"id":"2","activity_id":"3001","idx":"2","filter_type":"1","filter_value":"1","box":"2002,2006","status":1},{"id":"3","activity_id":"3001","idx":"4","filter_type":"1","filter_value":"2","box":"2003,2007","status":3},{"id":"4","activity_id":"3001","idx":"8","filter_type":"1","filter_value":"4","box":"2005,2006","status":3},{"id":"5","activity_id":"3001","idx":"16","filter_type":"1","filter_value":"8","box":"2003,2005,2007","status":3},{"id":"6","activity_id":"3001","idx":"32","filter_type":"1","filter_value":"16","box":"2005,2006,2007","status":3},{"id":"7","activity_id":"3001","idx":"64","filter_type":"1","filter_value":"32","box":"2004,2005,2008","status":3}]
         * activity_data : {"id":"5","account":"27439885","activity_id":"3001","idx":"1","is_finish":"0","update_time":"1532534400"}
         */

        private ActivityBean activity;
        private ActivityDataBean activity_data;
        private List<SubtaskBean> subtask;

        public ActivityBean getActivity() {
            return activity;
        }

        public void setActivity(ActivityBean activity) {
            this.activity = activity;
        }

        public ActivityDataBean getActivity_data() {
            return activity_data;
        }

        public void setActivity_data(ActivityDataBean activity_data) {
            this.activity_data = activity_data;
        }

        public List<SubtaskBean> getSubtask() {
            return subtask;
        }

        public void setSubtask(List<SubtaskBean> subtask) {
            this.subtask = subtask;
        }

        public static class ActivityBean {
            /**
             * id : 3001
             * activity_banner : http://106.75.7.254/Uploads/Picture/2018-06-14/01.png
             * activity_title : 7日奖励活动
             * content : 7日奖励活动
             * activity_url : https://www.baidu.com/
             * start_time : 1531732484
             * end_time : 1535799600
             * priority : 0
             * jump_type : 1
             * activity_type : 1
             * equipment : 1
             * has_subtask : 1
             */

            private String id;
            private String activity_banner;
            private String activity_title;
            private String content;
            private String activity_url;
            private String start_time;
            private String end_time;
            private String priority;
            private String jump_type;
            private String activity_type;
            private String equipment;
            private String has_subtask;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getActivity_banner() {
                return activity_banner;
            }

            public void setActivity_banner(String activity_banner) {
                this.activity_banner = activity_banner;
            }

            public String getActivity_title() {
                return activity_title;
            }

            public void setActivity_title(String activity_title) {
                this.activity_title = activity_title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getActivity_url() {
                return activity_url;
            }

            public void setActivity_url(String activity_url) {
                this.activity_url = activity_url;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getPriority() {
                return priority;
            }

            public void setPriority(String priority) {
                this.priority = priority;
            }

            public String getJump_type() {
                return jump_type;
            }

            public void setJump_type(String jump_type) {
                this.jump_type = jump_type;
            }

            public String getActivity_type() {
                return activity_type;
            }

            public void setActivity_type(String activity_type) {
                this.activity_type = activity_type;
            }

            public String getEquipment() {
                return equipment;
            }

            public void setEquipment(String equipment) {
                this.equipment = equipment;
            }

            public String getHas_subtask() {
                return has_subtask;
            }

            public void setHas_subtask(String has_subtask) {
                this.has_subtask = has_subtask;
            }
        }

        public static class ActivityDataBean {
            /**
             * id : 5
             * account : 27439885
             * activity_id : 3001
             * idx : 1
             * is_finish : 0
             * update_time : 1532534400
             */

            private String id;
            private String account;
            private String activity_id;
            private String idx;
            private String is_finish;
            private String update_time;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }

            public String getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(String activity_id) {
                this.activity_id = activity_id;
            }

            public String getIdx() {
                return idx;
            }

            public void setIdx(String idx) {
                this.idx = idx;
            }

            public String getIs_finish() {
                return is_finish;
            }

            public void setIs_finish(String is_finish) {
                this.is_finish = is_finish;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }
        }

        public static class SubtaskBean {
            /**
             * id : 1
             * activity_id : 3001
             * idx : 1
             * filter_type : 0
             * filter_value :
             * box : 2001,2003
             * status : 2
             */

            private String id;
            private String activity_id;
            private String idx;
            private String filter_type;
            private String filter_value;
            private String box;
            private int status;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(String activity_id) {
                this.activity_id = activity_id;
            }

            public String getIdx() {
                return idx;
            }

            public void setIdx(String idx) {
                this.idx = idx;
            }

            public String getFilter_type() {
                return filter_type;
            }

            public void setFilter_type(String filter_type) {
                this.filter_type = filter_type;
            }

            public String getFilter_value() {
                return filter_value;
            }

            public void setFilter_value(String filter_value) {
                this.filter_value = filter_value;
            }

            public String getBox() {
                return box;
            }

            public void setBox(String box) {
                this.box = box;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }

}
